import Vue from 'vue'
import App from './App.vue'
import router from '@/router'

import 'iview/dist/styles/iview.css'
import iview from 'iview'
Vue.use(iview)

import login from '@/components/login'
Vue.component('login',login);

import span from '@/components/span'
Vue.use(span);

import api from '@/api'
Vue.use(api)

Vue.config.productionTip = false

window.vm = new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
